import React from 'react';
import { Table } from 'antd';
import '../../operator.less';
export default function tabs (props) {
  return (
     <div>
        {props.data.length > 0 && (
          <div className='strategy-remarks-content'>
            <p>导入信息与系统信息存在冲突：</p>
            <Table
              className='strategy-operater-table'
              dataSource={props.data}
              columns={props.columns}
              rowKey='id'
              pagination={false}
            />
          </div>
         )
        }
        {props.insideData.length > 0 && (
           <div className='strategy-remarks-content'>
             <p>三方名单、内部名单、模型不存在、需先初始化：</p>
             <Table
               className='strategy-operater-table'
               dataSource={props.insideData}
               columns={props.insideColumns}
               rowKey='id'
               pagination={false}
             />
          </div>
        )
        }
     </div>
  )
}